package com.thor.palmmall.spi.order;

import java.util.List;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import com.thor.palmmall.spi.common.SQueryResult;
import com.thor.palmmall.spi.common.SResponse;

/**
 * @author Vergar
 *
 * @since 1.0
 */
@Path("/sales")
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
public interface SProductService {
	@POST
	@Path(value = "/product/queryProducts")
	SResponse<SQueryResult<SProduct>> getProducts(SProductCondition condition);
}
